为了缓解学习压力,充分利用free time,开始学习各种命令,并尝试写一些很小的脚本

1.一个很无聊的脚本,其实只能算一个小命令 用来将arp文件中的IP解析出来,并排序显示出来 #!/bin/sh #this shell is used to show the arp infomation,and sort the IP echo “show the arp infomation,IP from 1–255” echo “*****************” cat /proc/net/arp | grep -v IP |cut -d ” ” -f1 | cut -d “.” -f4| … Continue reading 为了缓解学习压力,充分利用free time,开始学习各种命令,并尝试写一些很小的脚本